<extend name="Public/base" />
<block name="body">
    <div class="main-title">
         <h2>新增缴费类型</h2>
    </div>
    <div class="tab-wrap with-padding">
        <div class="node-list">
            <div class="tab-pane in">
                <form action="{:U('addamountType')}" method="POST" class="form-horizontal auth-form">
                 <input type="hidden" name="id" value="{$data.id}" />
                    <div class="form-item cf">
                        <label class="item-label">单位id<span class="check-tips"></span></label>

                        <div class="controls">
                            <select name="unit" data-role="select_text" class="form-control" style="width:25%">
                                <option value="0">请选择</option>
                                <volist name="typeList" id="vo">
                                <option value="{$vo.id}" >{$vo.title}</option>                               
                                </volist>
                                   
                            </select>
                                  
                        </div>
                    </div>
                    <br/>
                  
                     <div class="form-item cf">
                        <label class="item-label">缴费类型<span class="check-tips"></span></label>

                        <div class="controls">
                            <input type="text" class="text input-large form-control form-input-width" name="title" value="" placeholder="请输入缴费类型的名称" >       
                        </div>
                    </div>
                    <br/>
                     <div class="form-item cf">
                        <label class="item-label">金额<span class="check-tips"></span></label>

                        <div class="controls">
                            <input type="text" class="text input-large form-control form-input-width" name="amount" value="" placeholder="请输入缴费类型的金额" >       
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label">缴费别名<span class="check-tips"></span></label>
                        <div class="controls">
                            <input type="text" class="text input-large form-control form-input-width" name="mark" value="" placeholder="请输入字母" >       
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label">缴费状态<span class="check-tips"></span></label>

                        <div class="controls">
                            <select name="setstate" data-role="select_text" class="form-control" style="width:25%">
                                <option value="1">必选</option>

                                <option value="0" >可选</option>                                                     
                            </select>
                                  
                        </div>
                    </div>

                    <div style="margin-top: 20px;"></div>
                    <button type="submit" class="btn submit-btn ajax-post" target-form="auth-form">{:L("_SURE_WITH_SPACE_")}</button>
                    <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>
                    <!-- <input type="submit" name=""/> -->
                </form>
            </div>
        </div>
    </div>

</block>
<block name="script">
    <script type="text/javascript" src="__STATIC__/qtip/jquery.qtip.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/qtip/jquery.qtip.min.css" media="all">
    <script type="text/javascript" charset="utf-8">
       
        //导航高亮
        highlight_subnav('{:U('index')}');
    </script>
</block>
